class NormalizeCalEventsAndEvetns < ActiveRecord::Migration
  def self.up
    remove_column :events, :start_date
    remove_column :events, :end_date
    remove_column :events, :title
    remove_column :events, :created_at
    remove_column :events, :updated_at
    remove_column :events, :create_time
    remove_column :events, :update_time
  end

  def self.down
    add_column :events, :start_date,  :datetime
    add_column :events, :end_date,    :datetime
    add_column :events, :title,       :string  
    add_column :events, :created_at,  :datetime
    add_column :events, :updated_at,  :datetime
    add_column :events, :create_time, :datetime
    add_column :events, :update_time, :datetime
  end
end
